/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 苏李涛
 * Date: 2024-04-29
 * Time: 23:23
 */
public class MyLoad {

    public static double add(double a, double b, double c) {
       return ((a>b ? a : b) > c) ? (a>b ? a : b) : c;

    }

    public static int add(int x, int y) {
        if (x > y) {
            return x;
        } else {
            return y;
        }
    }


    public static void main(String[] args) {
        System.out.println(add(2,3));
        System.out.println(add(6.2, 6.0, 8.0));
    }
}
